﻿using AutoMapper;
using WebApiFirst.Entity;
using WebApiFirst.Model.Req;
using WebApiFirst.Model.Res;

namespace WebApiFirst.Common;

public class AutoProfile:Profile
{
    public AutoProfile() {

        CreateMap<AddReq, Student>();
        CreateMap<UpdateReq, Student>();
        CreateMap<Student, StudentRes>();
    }
}
